package com.twu.biblioteca.Models;

public class Book
{
    private String title;
    private Boolean reserved;

    public Book(String title, Boolean reserved)
    {
        this.title = title;
        this.reserved = reserved;
    }

    public Boolean reserveBook()
    {
        reserved = true;
        return reserved;
    }

    public String getTitle()
    {
        return title;
    }

    public Boolean isReserved()
    {
        return reserved;
    }
}